[gd_scene load_steps=14 format=3 uid="uid://cd4w3embrkgps"]

[ext_resource type="Script" path="res://Features/GameStates/MainMenu/MainMenu.cs" id="1_3j88h"]
[ext_resource type="Theme" uid="uid://depdqo36e8ank" path="res://Assets/Resources/MenuTheme.tres" id="2_ke533"]
[ext_resource type="Script" path="res://Features/GameStates/MainMenu/MenuButton.cs" id="3_57q8v"]
[ext_resource type="Script" path="res://Features/GameStates/MainMenu/ParticlesSpawner.cs" id="3_pksw4"]
[ext_resource type="Texture2D" uid="uid://lc5ydyug4edr" path="res://Assets/Textures/Particles/Effects/smoke_07.png" id="4_4cn3o"]

[sub_resource type="Gradient" id="Gradient_tod60"]
colors = PackedColorArray(0, 0, 0.0156863, 1, 0.000104871, 0.00790084, 0.121108, 1)

[sub_resource type="GradientTexture2D" id="GradientTexture2D_fcnkp"]
gradient = SubResource("Gradient_tod60")
fill_from = Vector2(1, 0.363914)
fill_to = Vector2(1, 1)

[sub_resource type="Curve" id="Curve_w5hh7"]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
point_count = 2

[sub_resource type="Curve" id="Curve_wyf64"]
min_value = 1.0
max_value = 2.0
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 3), 0.0, 0.0, 0, 0]
point_count = 2

[sub_resource type="Gradient" id="Gradient_rnq2u"]
offsets = PackedFloat32Array(0, 0.271111, 0.586667, 1)
colors = PackedColorArray(1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0)

[sub_resource type="Gradient" id="Gradient_mfoj1"]
offsets = PackedFloat32Array(0.385281, 0.904762)
colors = PackedColorArray(0, 0, 0, 0, 0, 0, 0, 1)

[sub_resource type="GradientTexture2D" id="GradientTexture2D_82b0n"]
gradient = SubResource("Gradient_mfoj1")
fill = 1
fill_from = Vector2(0.5, 0.5)

[sub_resource type="Environment" id="Environment_n4o6d"]
resource_local_to_scene = true
background_mode = 3
background_canvas_max_layer = 10
glow_enabled = true
glow_intensity = 8.0
glow_blend_mode = 0
glow_hdr_threshold = 0.44
glow_hdr_scale = 4.0

[node name="MainMenu" type="CanvasLayer" node_paths=PackedStringArray("GameStartButton")]
script = ExtResource("1_3j88h")
GameStartButton = NodePath("Control/VBoxContainer/StartGameButton")

[node name="Control" type="Control" parent="."]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("2_ke533")

[node name="Background" type="Control" parent="Control"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2

[node name="BaseGradient" type="TextureRect" parent="Control/Background"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("GradientTexture2D_fcnkp")

[node name="ParticlesSpawner" type="Control" parent="Control/Background" node_paths=PackedStringArray("SmokeParticles")]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("3_pksw4")
SmokeParticles = NodePath("CPUParticles2D")

[node name="CPUParticles2D" type="CPUParticles2D" parent="Control/Background/ParticlesSpawner"]
position = Vector2(610, 720)
lifetime = 20.0
texture = ExtResource("4_4cn3o")
emission_shape = 3
emission_rect_extents = Vector2(640, 1)
direction = Vector2(0, -1)
spread = 0.0
gravity = Vector2(0, 0)
initial_velocity_min = 5.67
initial_velocity_max = 27.03
angular_velocity_min = -60.0
angular_velocity_max = 60.0
angular_velocity_curve = SubResource("Curve_w5hh7")
scale_amount_min = 0.5
scale_amount_curve = SubResource("Curve_wyf64")
color = Color(0, 0.054902, 0.32549, 0.517647)
color_ramp = SubResource("Gradient_rnq2u")

[node name="Vignette" type="TextureRect" parent="Control/Background"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = SubResource("GradientTexture2D_82b0n")

[node name="VBoxContainer" type="VBoxContainer" parent="Control"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -20.0
offset_top = -20.0
offset_right = 20.0
offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2

[node name="StartGameButton" type="Button" parent="Control/VBoxContainer"]
custom_minimum_size = Vector2(200, 50)
layout_mode = 2
theme_override_font_sizes/font_size = 50
text = "Start Game"
script = ExtResource("3_57q8v")

[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_n4o6d")

[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
